import Vue from 'vue'
import Vuex from 'vuex'
import useModule from './modules/user'
import storagePlugin from './denglu'
import cartModule from './modules/cart'
import cartstore from './storage-pulgin-in'
Vue.use(Vuex)
const store = new Vuex.Store({
  strict: true,
  modules: { // 模块导入
    cart: cartModule,
    user: useModule
  },
  mutations: {
  },
  actions: {
  },
  plugins: [storagePlugin, cartstore]
})
export default store
